<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<%@ include file="../commen/commen_include.jsp"%>
<script type="text/javascript" src="${basePath}/view/user/js/user.js"></script>
</head>
<body>
				<div class="breadcrumbs" id="breadcrumbs">
						<script type="text/javascript">
							try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
						</script>

						<ul class="breadcrumb">
							<li>
								<i class="icon-home home-icon"></i>
								<a href="#">Home</a>
							</li>

							<li>
								<a href="#">More Pages</a>
							</li>
							<li class="active">User Profile</li>
						</ul><!-- .breadcrumb -->

						<div class="nav-search" id="nav-search">
							<form class="form-search">
								<span class="input-icon">
									<input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
									<i class="icon-search nav-search-icon"></i>
								</span>
							</form>
						</div><!-- #nav-search -->
					</div>
					<div class="page-content">
										<p>
										
											<button class="btn btn-sm btn-danger" id="addBut">新增</button>
											<button class="btn btn-sm btn-warning" id="updateBut">修改</button>
											<button class="btn btn-sm btn-inverse" id="delBut">删除</button>
											<button class="btn btn-sm btn-primary" id="ueryBut">查询</button>
										</p>
						<div class="row">
							<div class="col-xs-12">
								<table id="user-table"></table>
								<div id="user-pager"></div>
							</div>
						</div>
						<div id="addDiv" style="display: none;">
						<form id="userForm" method="post" action="/user/save" class="form-horizontal">
						    <div class="form-group">
						    			<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 昵称: </label>
										<div class="col-sm-9">
											<input type="text" id="userName" name="user.name" placeholder="昵称" class="col-xs-10 col-sm-5">
											<input type="hidden" id="userId" name="user.id">
										</div>
						    </div>
						    <div class="form-group">
						    			<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 登录账号: </label>
										<div class="col-sm-9">
											<input type="text" id="loginName" name="user.loginName" placeholder="登录账号" class="col-xs-10 col-sm-5">
										</div>
						    </div>
						    <div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 密码: </label>
										<div class="col-sm-9">
											<input type="text" id="passWord" name="user.passWord" placeholder="密码" class="col-xs-10 col-sm-5">
										</div>
						    </div>
						    <div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 邮箱: </label>
										<div class="col-sm-9">
											<input type="text" id="email" placeholder="email" class="col-xs-10 col-sm-5">
										</div>
						    </div>
						    <div class="form-group">
										<label class="col-sm-3 control-label no-padding-right" for="form-field-1"> 是否可用: </label>
										<div class="col-xs-3">
													<label>
														<input name="user.usableFlag" id="usableFlag" class="ace ace-switch ace-switch-5" type="checkbox">
														<span class="lbl"></span>
													</label>
										</div>
						    </div>
					
						</form>
						</div>
						<div style="display: none" id="removeDiv">
											<p class="bigger-110 bolder center grey">
												<i class="icon-hand-right blue bigger-120"></i>
												Are you sure?
											</p>
						</div>

				   </div>
</body>
</html>